{% extends 'base.html' %}
{% block content %}
    <table border="1">
        <tr>
            <th>序号</th>
            <th>书名</th>
            <th>作者</th>
        </tr>
        {% for book in books %}
            <tr>
                <td>{{ book.0 }}</td>
                <td><a href="{% url 'front_views_detail_book' book_id=book.0 %}">{{ book.1 }}</a></td>
                <td>{{ book.2 }}</td>
            </tr>
        {% endfor %}
    </table>
{% endblock %}